/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package estg.dae.projecto.broker.controllers;

import estg.dae.projecto.bank.impl.BankTO;
import estg.dae.projecto.bank.impl.ElectronicOperationTO;

/**
 *
 * @author Marco
 */
public interface IBrokerControllerRemote {
    public boolean registerBank(BankTO bank);
    public boolean isBankRegistered(String bankCode);
    public void unregisterBank(String bankCode);
    public boolean updateBank(BankTO bank);
    //client address representa o email do cliente
    public String registerCard(String bankCode, String clientAddress);
    public boolean suspendCard(String bankCode, String cardNumber);
    public boolean executeOfflineOperation(ElectronicOperationTO electronicOperation);
}
